//
//  AvitiSendController.m
//  电影er
//
//  Created by dllo on 16/6/25.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "AvitiSendController.h"
#import "AvtisendTableViewCell.h"
@interface AvitiSendController ()<UITableViewDelegate,UITableViewDataSource>

@end

@implementation AvitiSendController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.automaticallyAdjustsScrollViewInsets = NO;
    self.navigationItem.title = self.asmodel.title;
    [self cecttabview];
    
}

-(void)cecttabview{
    UITableView *tabview = [[UITableView alloc]initWithFrame:CGRectMake(0, 64, self.view.frame.size.width, self.view.frame.size.height-64) style:UITableViewStylePlain];
       tabview.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:tabview];
    
    tabview.delegate = self;
    tabview.dataSource =self;
    
    tabview.rowHeight = 1000;
    [tabview registerClass:[AvtisendTableViewCell class] forCellReuseIdentifier:@"cell"];
    
    
}
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 1;
    
}
-(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    AvtisendTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
    cell.avmodel = self.asmodel;
    return cell;
    
    
}












@end
